<script setup>
  const debounce = (fn, delay) => {
  let timer
   return (...args) => {
     if (timer) {
       clearTimeout(timer)
     }
     timer = setTimeout(() => {
       fn(...args)
     }, delay)
   }
}
  
const _ResizeObserver = window.ResizeObserver;
window.ResizeObserver = class ResizeObserver extends _ResizeObserver{
   constructor(callback) {
     callback = debounce(callback, 200);
     super(callback);
   }
}
</script>

<template>
  <!-- <header>
    <img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />

    <div class="wrapper">
      <HelloWorld msg="You did it!" />
    </div>
  </header> -->

  <!-- <main>
    <div>
      <el-button type="primary">Primary</el-button>
    </div>
  </main> -->

  <!-- <r_login></r_login> -->

    <!-- <r_login></r_login> -->
    <router-view></router-view>
</template>

<style>
html,body,#app{
  margin: 0;
  padding: 0;
  height: 100%;
}
</style>